/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package maincz.tests.webapp.utils.scheduling.actions;

import java.util.logging.Logger;

/**
 *
 * @author Main
 */
public class PrintInfoAction implements IAction {

    private String message;
    private static final Logger log = Logger.getLogger("PrintInfoAction");
        
    public PrintInfoAction(String message) {
        this.message = message;
    }
    
    @Override
    public void run() {
        System.out.println(message);
        log.info(message);
    }
    
}
